package Decorator;

import Decorator.constants.CasherEnum;

/**
 * @author duanzhizhou
 * @date 2024/9/25
 */
public class Client {
    
    public static void main(String[] args) {
        CashContext cashContext = new CashContext(CasherEnum.BUY_ONE_GET_ONE);
        System.out.println(cashContext.getMoney(500, 5));
    }
}
